import request from '@/utils/request'

export function getImagePgListPage(page) {
  return request({
    url: '/getImagePgListPage',
    method: 'post',
    data: {
      currentPage: page.currentPage,
      currentResult: 0,
      entityOrField: true,
      pageStr: 'string',
      pd: {
        wjlx: page.pd.wjlx

      },
      showCount: page.showCount,
      totalPage: 0,
      totalResult: 0
    }
  })
}
export function savaFile(params) {
  return request({
    url: '/savaFile',
    method: 'post',
    data:params,
  })
}



export function delFile(params) {
  return request({
    url: '/delFile',
    method: 'post',
    data:params,
  })
}

export function getWjlxDictPgListPage(page) {
  return request({
    url: '/getDictPgListPage',
    method: 'post',
    data: {
      currentPage: page.currentPage,
      currentResult: 0,
      entityOrField: true,
      pageStr: 'string',
      pd: {
        zdbh: 'D1004',
      },
      showCount: 9999,
      totalPage: 0,
      totalResult: 0
    }
  })
}



